projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aa745b
)
tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
author
Benjamin Otte
<otte@redhat.com>
Wed, 15 Dec 2010 11:04:15 +0000
(12:04 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 15 Dec 2010 13:51:26 +0000
(14:51 +0100)
tests/testnotebookdnd.c
patch
|
blob
|
history
diff --git
a/tests/testnotebookdnd.c
b/tests/testnotebookdnd.c
index 459146d609beabb8dc7637f4f0ac77c73c37d507..a20597b8d1b500ac7168f2a391318cfa76e6a637 100644
(file)
--- a/
tests/testnotebookdnd.c
+++ b/
tests/testnotebookdnd.c
@@
-111,9
+111,9
@@
on_notebook_drag_begin (GtkWidget *widget,
if (page_num > 2)
{
- pixbuf = gtk_widget_render_icon (widget,
- (page_num % 2) ? GTK_STOCK_HELP : GTK_STOCK_STOP,
-
GTK_ICON_SIZE_DND, NULL
);
+ pixbuf = gtk_widget_render_icon
_pixbuf
(widget,
+
(page_num % 2) ? GTK_STOCK_HELP : GTK_STOCK_STOP,
+
GTK_ICON_SIZE_DND
);
gtk_drag_set_icon_pixbuf (context, pixbuf, 0, 0);
g_object_unref (pixbuf);